<template>
  <div>
  <div class="page-heading">
    <h3>
      首 页
    </h3>
    <ul class="breadcrumb">
      <li>
        <a href="url('/admin')">首 页</a>
      </li>
    </ul>
    <div class="state-info">
      <section class="panel">
        <div class="panel-body">
          <div class="summary">
            <span>yearly expense</span>
            <h3 class="red-txt">$ 45,600</h3>
          </div>
          <div id="income" class="chart-bar"></div>
        </div>
      </section>
      <section class="panel">
        <div class="panel-body">
          <div class="summary">
            <span>yearly  income</span>
            <h3 class="green-txt">$ 45,600</h3>
          </div>
          <div id="expense" class="chart-bar"></div>
        </div>
      </section>
    </div>
  </div>
  <div class="wrapper">
    <div class="row">
      <div class="col-md-6">
        <!--statistics start-->
        <div class="row state-overview">
          <div class="col-md-6 col-xs-12 col-sm-6">
            <div class="panel purple">
              <div class="symbol">
                <i class="fa fa-gavel"></i>
              </div>
              <div class="state-value">
                <div class="value">230</div>
                <div class="title">New Order</div>
              </div>
            </div>
          </div>
          <div class="col-md-6 col-xs-12 col-sm-6">
            <div class="panel red">
              <div class="symbol">
                <i class="fa fa-tags"></i>
              </div>
              <div class="state-value">
                <div class="value">3490</div>
                <div class="title">Copy Sold</div>
              </div>
            </div>
          </div>
        </div>
        <div class="row state-overview">
          <div class="col-md-6 col-xs-12 col-sm-6">
            <div class="panel blue">
              <div class="symbol">
                <i class="fa fa-money"></i>
              </div>
              <div class="state-value">
                <div class="value">22014</div>
                <div class="title"> Total Revenue</div>
              </div>
            </div>
          </div>
          <div class="col-md-6 col-xs-12 col-sm-6">
            <div class="panel green">
              <div class="symbol">
                <i class="fa fa-eye"></i>
              </div>
              <div class="state-value">
                <div class="value">390</div>
                <div class="title"> Unique Visitors</div>
              </div>
            </div>
          </div>
        </div>
        <!--statistics end-->
      </div>
      <div class="col-md-6">
        <!--more statistics box start-->
        <div class="panel deep-purple-box">
          <div class="panel-body">
            <div class="row">
              <div class="col-md-7 col-sm-7 col-xs-7">
                <div id="graph-donut" class="revenue-graph"></div>

              </div>
              <div class="col-md-5 col-sm-5 col-xs-5">
                <ul class="bar-legend">
                  <li><span class="blue"></span> Open rate</li>
                  <li><span class="green"></span> Click rate</li>
                  <li><span class="purple"></span> Share rate</li>
                  <li><span class="red"></span> Unsubscribed rate</li>
                </ul>
              </div>
            </div>
          </div>
        </div>
        <!--more statistics box end-->
      </div>
    </div>
    <div class="row">
      <div class="col-md-8">
        <div class="panel">
          <div class="panel-body">
            <div class="row revenue-states">
              <div class="col-md-6 col-sm-6 col-xs-12">
                <h4>Monthly revenue report</h4>
                <div class="icheck">
                  <div class="square-red single-row">
                    <div class="checkbox ">
                      <input type="checkbox" checked>
                      <label>Online</label>
                    </div>
                  </div>
                  <div class="square-blue single-row">
                    <div class="checkbox ">
                      <input type="checkbox">
                      <label>Offline </label>
                    </div>
                  </div>
                </div>

              </div>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <ul class="revenue-nav">
                  <li><a href="#">weekly</a></li>
                  <li><a href="#">monthly</a></li>
                  <li class="active"><a href="#">yearly</a></li>
                </ul>
              </div>
            </div>
            <div class="row">
              <div class="col-md-12">
                <div class="clearfix">
                  <div id="main-chart-legend" class="pull-right">
                  </div>
                </div>

                <div id="main-chart">
                  <div id="main-chart-container" class="main-chart">
                  </div>
                </div>
                <ul class="revenue-short-info">
                  <li>
                    <h1 class="red">15%</h1>
                    <p>Server Load</p>
                  </li>
                  <li>
                    <h1 class="purple">30%</h1>
                    <p>Disk Space</p>
                  </li>
                  <li>
                    <h1 class="green">84%</h1>
                    <p>Transferred</p>
                  </li>
                  <li>
                    <h1 class="blue">28%</h1>
                    <p>Temperature</p>
                  </li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="panel">
          <header class="panel-heading">
            goal progress
                            <span class="tools pull-right">
                                <a href="javascript:;" class="fa fa-chevron-down"></a>
                                <a href="javascript:;" class="fa fa-times"></a>
                             </span>
          </header>
          <div class="panel-body">
            <ul class="goal-progress">
              <li>
                <div class="prog-avatar">
                  <img src="../../../images/photos/user1.png" alt=""/>
                </div>
                <div class="details">
                  <div class="title">
                    <a href="#">John Doe</a> - Project Lead
                  </div>
                  <div class="progress progress-xs">
                    <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 70%">
                      <span class="">70%</span>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="prog-avatar">
                  <img src="../../../images/photos/user2.png" alt=""/>
                </div>
                <div class="details">
                  <div class="title">
                    <a href="#">Cameron Doe</a> - Sales
                  </div>
                  <div class="progress progress-xs">
                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 91%">
                      <span class="">91%</span>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="prog-avatar">
                  <img src="../../../images/photos/user3.png" alt=""/>
                </div>
                <div class="details">
                  <div class="title">
                    <a href="#">Hoffman Doe</a> - Support
                  </div>
                  <div class="progress progress-xs">
                    <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                      <span class="">40%</span>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="prog-avatar">
                  <img src="../../../images/photos/user4.png" alt=""/>
                </div>
                <div class="details">
                  <div class="title">
                    <a href="#">Jane Doe</a> - Marketing
                  </div>
                  <div class="progress progress-xs">
                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                      <span class="">20%</span>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="prog-avatar">
                  <img src="../../../images/photos/user5.png" alt=""/>
                </div>
                <div class="details">
                  <div class="title">
                    <a href="#">Hoffman Doe</a> - Support
                  </div>
                  <div class="progress progress-xs">
                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
                      <span class="">45%</span>
                    </div>
                  </div>
                </div>
              </li>
            </ul>
            <div class="text-center"><a href="#">View all Goals</a></div>
          </div>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-md-4">
        <div class="panel">
          <div class="panel-body extra-pad">
            <h4 class="pros-title">prospective <span>leads</span></h4>
            <div class="row">
              <div class="col-sm-4 col-xs-4">
                <div id="p-lead-1"></div>
                <p class="p-chart-title">Laptop</p>
              </div>
              <div class="col-sm-4 col-xs-4">
                <div id="p-lead-2"></div>
                <p class="p-chart-title">iPhone</p>
              </div>
              <div class="col-sm-4 col-xs-4">
                <div id="p-lead-3"></div>
                <p class="p-chart-title">iPad</p>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="panel">
          <div class="panel-body extra-pad">
            <div class="col-sm-6 col-xs-6">
              <div class="v-title">Visits</div>
              <div class="v-value">10,090</div>
              <div id="visit-1"></div>
              <div class="v-info">Pages/Visit</div>
            </div>
            <div class="col-sm-6 col-xs-6">
              <div class="v-title">Unique Visitors</div>
              <div class="v-value">8,173</div>
              <div id="visit-2"></div>
              <div class="v-info">Avg. Visit Duration</div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-4">

        <div class="panel green-box">
          <div class="panel-body extra-pad">
            <div class="row">
              <div class="col-sm-6 col-xs-6">
                <div class="knob">
                                        <span class="chart" data-percent="79">
                                            <span class="percent">79% <span class="sm">New Visit</span></span>
                                        </span>
                </div>
              </div>
              <div class="col-sm-6 col-xs-6">
                <div class="knob">
                                        <span class="chart" data-percent="56">
                                            <span class="percent">56% <span class="sm">Bounce rate</span></span>
                                        </span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-md-4">
        <div class="panel">
          <div class="panel-body">
            <div class="calendar-block ">
              <div class="cal1">

              </div>
            </div>

          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="panel">
          <header class="panel-heading">
            Todo List
                            <span class="tools pull-right">
                                <a class="fa fa-chevron-down" href="javascript:;"></a>
                                <a class="fa fa-times" href="javascript:;"></a>
                             </span>
          </header>
          <div class="panel-body">
            <ul class="to-do-list" id="sortable-todo">
              <li class="clearfix">
                                    <span class="drag-marker">
                                    <i></i>
                                    </span>
                <div class="todo-check pull-left">
                  <input type="checkbox" value="None" id="todo-check"/>
                  <label for="todo-check"></label>
                </div>
                <p class="todo-title">
                  Dashboard Design & Wiget placement
                </p>
                <div class="todo-actionlist pull-right clearfix">

                  <a href="#" class="todo-remove"><i class="fa fa-times"></i></a>
                </div>
              </li>
              <li class="clearfix">
                                    <span class="drag-marker">
                                    <i></i>
                                    </span>
                <div class="todo-check pull-left">
                  <input type="checkbox" value="None" id="todo-check1"/>
                  <label for="todo-check1"></label>
                </div>
                <p class="todo-title">
                  Wireframe prepare for new design
                </p>
                <div class="todo-actionlist pull-right clearfix">

                  <a href="#" class="todo-remove"><i class="fa fa-times"></i></a>
                </div>
              </li>
              <li class="clearfix">
                                    <span class="drag-marker">
                                    <i></i>
                                    </span>
                <div class="todo-check pull-left">
                  <input type="checkbox" value="None" id="todo-check2"/>
                  <label for="todo-check2"></label>
                </div>
                <p class="todo-title">
                  UI perfection testing for Mega Section
                </p>
                <div class="todo-actionlist pull-right clearfix">

                  <a href="#" class="todo-remove"><i class="fa fa-times"></i></a>
                </div>
              </li>
              <li class="clearfix">
                                    <span class="drag-marker">
                                    <i></i>
                                    </span>
                <div class="todo-check pull-left">
                  <input type="checkbox" value="None" id="todo-check3"/>
                  <label for="todo-check3"></label>
                </div>
                <p class="todo-title">
                  Wiget & Design placement
                </p>
                <div class="todo-actionlist pull-right clearfix">

                  <a href="#" class="todo-remove"><i class="fa fa-times"></i></a>
                </div>
              </li>
              <li class="clearfix">
                                    <span class="drag-marker">
                                    <i></i>
                                    </span>
                <div class="todo-check pull-left">
                  <input type="checkbox" value="None" id="todo-check4"/>
                  <label for="todo-check4"></label>
                </div>
                <p class="todo-title">
                  Development & Wiget placement
                </p>
                <div class="todo-actionlist pull-right clearfix">

                  <a href="#" class="todo-remove"><i class="fa fa-times"></i></a>
                </div>
              </li>

            </ul>
            <div class="row">
              <div class="col-md-12">
                <form role="form" class="form-inline">
                  <div class="form-group todo-entry">
                    <input type="text" placeholder="Enter your ToDo List" class="form-control" style="width: 100%">
                  </div>
                  <button class="btn btn-primary pull-right" type="submit">+</button>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-4">
        <div class="panel blue-box twt-info">
          <div class="panel-body">
            <h3>19 Februay 2014</h3>

            <p>AdminEx is new model of admin
              dashboard <a href="#">http://t.co/3laCVziTw4</a>
              4 days ago by John Doe</p>
          </div>
        </div>
        <div class="panel">
          <div class="panel-body">
            <div class="media usr-info">
              <a href="#" class="pull-left">
                <img class="thumb" src="../../../images/photos/user2.png" alt=""/>
              </a>
              <div class="media-body">
                <h4 class="media-heading">Mila Watson</h4>
                <span>Senior UI Designer</span>
                <p>I use to design websites and applications for the web.</p>
              </div>
            </div>
          </div>
          <div class="panel-footer custom-trq-footer">
            <ul class="user-states">
              <li>
                <i class="fa fa-heart"></i> 127
              </li>
              <li>
                <i class="fa fa-eye"></i> 853
              </li>
              <li>
                <i class="fa fa-user"></i> 311
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
  </div>
</template>

<script>
  export default {
    data () {
      return {
        msg: 'This is a Example~!'
      }
    },
    mounted: function() {

    },
  }
</script>